#ifndef QTLOTTO_H
#define QTLOTTO_H

#include <QtGui/QMainWindow>
#include <QList>

QT_BEGIN_NAMESPACE
class QPainter;
class QRect;
class QMouseEvent;
class QPushButton;
class QCheckBox;
class QSpinBox;
class QLabel;
class QMessageBox;
class QPalette;
class QTextEdit;
class QAction;
class QMenu;
QT_END_NAMESPACE

class QtLotto : public QMainWindow
{
    Q_OBJECT

public:
    QtLotto(QWidget *parent = 0);
    ~QtLotto();

private:
     void paintEvent(QPaintEvent *);
     void mousePressEvent(QMouseEvent *);
     void Randomize(QList<int> *);
     void closeEvent(QCloseEvent *);
     void hosszusorsolas();
     void createMenus();
     QRect tegla;
     QList<int> nyeroszamok;
     QList<int> nyerolista;
     QList<int> jeloltek;
     QPushButton *sorsolasButton;
     QCheckBox *otosigCB;
     QSpinBox *huzasokSB;
     QWidget *statWidget;
     QLabel *huzasnLabel;
     QLabel *egyesnLabel;
     QLabel *kettesnLabel;
     QLabel *harmasnLabel;
     QLabel *negyesnLabel;
     QLabel *otosnLabel;
     QPushButton *statlistaButton;
     bool runLongProcess;

//protected:

 private slots:
     void sorsolasExec(void);
     void clearExec(void);
     void otosigChanged(void);
     void ShowNyeroLista(void);
     void about();
};

#endif // QTLOTTO_H
